﻿public class LibraryItemDto
{
    public string Title { get; set; }
    public string Author { get; set; }
    public int CategoryId { get; set; }
    public decimal Price { get; set; }
    public int TotalCopies { get; set; }
    public int AvailableCopies { get; set; }
    public string Type { get; set; }
    //根据传来的Type字段，判断是书籍还是期刊，然后分别设置对应的属性是ISSN还是ISBN
    public string BootCode { get; set; }
    //根据Type字段，判断是书籍还是期刊，然后分别设置对应的属性是发行商还是期号
    public string PublisherAndIssueNumber{ get; set; }
}